go/parser.parser.lit (field)

18 uses

	go/parser (current package)
		interface.go#L220: 	if p.tok == token.SEMICOLON && p.lit == "\n" {
		parser.go#L49: 	lit string      // token literal
		parser.go#L122: 			p.printTrace(s, p.lit)
		parser.go#L130: 	p.pos, p.tok, p.lit = p.scanner.Scan()
		parser.go#L138: 	if p.lit[1] == '*' {
		parser.go#L140: 		for i := 0; i < len(p.lit); i++ {
		parser.go#L141: 			if p.lit[i] == '\n' {
		parser.go#L147: 	comment = &ast.Comment{Slash: p.pos, Text: p.lit}
		parser.go#L256: 		case p.tok == token.SEMICOLON && p.lit == "\n":
		parser.go#L260: 			msg += ", found " + p.lit
		parser.go#L293: 	if p.tok != tok && p.tok == token.SEMICOLON && p.lit == "\n" {
		parser.go#L323: 		if p.tok == token.SEMICOLON && p.lit == "\n" {
		parser.go#L427: 		name = p.lit
		parser.go#L661: 		tag = &ast.BasicLit{ValuePos: p.pos, Kind: p.tok, Value: p.lit}
		parser.go#L1364: 		x := &ast.BasicLit{ValuePos: p.pos, Kind: p.tok, Value: p.lit}
		parser.go#L2093: 			semi.lit = p.lit
		parser.go#L2471: 		s = &ast.EmptyStmt{Semicolon: p.pos, Implicit: p.lit == "\n"}
		parser.go#L2520: 		path = p.lit